package com.telecom.restaurant.dao;

import com.telecom.restaurant.model.CustomerPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CustomerDao {

    int insert(CustomerPO record);

    CustomerPO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerPO record);

    CustomerPO getByMobileOrUserId(@Param("mobile") String mobile , @Param("wxOpenId")String wxOpenId);

}